package com.shuai.stickynote;

import com.shuai.tool.IDManager;
import com.shuai.tool.MyTime;

public class MemoryNote {
    private String id, en, ch, group, time;
    private int complete, delete;
    public MemoryNote(String en, String ch, String group) {
        this.id = IDManager.getID();
        this.en = en;
        this.ch = ch;
        this.group = group;
        this.time = MyTime.getCurrentTimeOfStamp();
        this.complete = 0;
        this.delete = 0;
    }
    public MemoryNote(String id, String en, String ch, String group) {
        this.id = id;
        this.en = en;
        this.ch = ch;
        this.group = group;
        this.time = MyTime.getCurrentTimeOfStamp();
        this.complete = 0;
        this.delete = 0;
    }
    public MemoryNote(String id, String en, String ch, String group, String time, int complete, int delete) {
        this.id = id;
        this.en = en;
        this.ch = ch;
        this.group = group;
        this.time = time;
        this.complete = complete;
        this.delete = delete;
    }
    public String getEn() {
        return en;
    }
    public void setEn(String en) {
        this.en = en;
    }
    public String getCh() {
        return ch;
    }
    public void setCh(String ch) {
        this.ch = ch;
    }
    public String getGroup() {
        return group;
    }
    public void setGroup(String group) {
        this.group = group;
    }
    public String getTime() {
        return time;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public int getComplete() {
        return complete;
    }
    public void setComplete(int complete) {
        this.complete = complete;
    }
    public int getDelete() {
        return delete;
    }
    public void setDelete(int delete) {
        this.delete = delete;
    }
    public String getId() {
        return id;
    }
}
